MailPoet\API\MP\v1\Subscribers A

Total Complexity 68
Dependencies 23
Dependents 3
Total lines 408
Lines of code 251
Logical lines of code 148
Comment lines 71
Methods 14
Properties 13

Methods 14

Method Rating Maintainability Complexity Lines of code
subscribeToLists()
B
41 16 52
addSubscriber()
A
43 10 48
getAndValidateSegments()
A
44 10 44
buildListingDefinition()
S
57 8 15
_scheduleWelcomeNotification()
S
60 5 13
findSubscriber()
S
60 5 12
checkSubscriberAndListParams()
S
66 3 8
extractCustomFieldsFromFromSubscriberData()
S
63 3 10
__construct()
S
59 1 15
getSubscribers()
S
65 2 9
_sendConfirmationEmail()
S
64 2 10
getSubscriber()
S
76 1 4
unsubscribeFromLists()
S
68 1 7
getSubscribersCount()
S
76 1 4